#!/bin/sh

set -e
set -u

/bin/cp -f scripts/susan-dir-2client.conf ${conf}/susan-dir.conf
/bin/cp -f scripts/susan-sd-2disk-drive.conf ${conf}/susan-sd.conf
/bin/cp -f scripts/test-susan-fd.conf ${conf}/susan-fd.conf
/bin/cp -f scripts/test-console.conf ${conf}/bconsole.conf

outf="tmp/sed_tmp"
echo "s%# Autochanger = yes%  Autochanger = yes%g" >${outf}
cp bin/susan-dir.conf tmp/1
sed -f ${outf} tmp/1 >${conf}/susan-dir.conf
